<?php
include_once "src/controller/regmanagement/AccountManager.php";
//sleep(3);
try {
    if (isset($_POST['email'])) {
        if (AccountManager::isEmailUnique($_POST['email'])) {
            echo "1";
        } else {
            echo "0";
        }
    }
    
} catch (Exception $e) {
    echo $e->getMessage();
}
?>
